#include "List.h"
class CumRoomOrder
{
private:
	char* m_pName;
	int   m_iSex;
	int   m_iAge;
	char* m_pTelNo;
	char* m_pRoomID;
	char* m_pCardID;
	int   m_iInDays;
	double m_fPrice;
	List<int> m_RoomIDs;
public:
	CumRoomOrder();
	~CumRoomOrder();
	
	int AddRecord();
	int SetData(char* name,int sex,char* pTelNO,int iAge,char* pRoomID,char* pCumCardID,int iInDays,double price);
};

class CumRoomOrderCollect
{
private:
	List<CumRoomOrder>* m_pOrders;
public:
	CumRoomOrderCollect();
	~CumRoomOrderCollect();
	int Clear();
	int Save();
	int Delete(int);
	int Add(CumRoomOrder*);
	int Count();
};

